package xyz.yuanjilu.service;

import xyz.yuanjilu.entity.SalesEntity;

import java.util.List;
import java.util.Map;

/**
 * 销售管理
 * 
 * @author CHENJUNFEI
 * @email kkomge@qq.com
 * @date 2017-07-19 14:54:22
 */
public interface SalesService {
	
	SalesEntity queryObject(Long id);
	
	List<SalesEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SalesEntity sales);
	
	void update(SalesEntity sales);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);
}
